<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>交期批量变更列表</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" type="text/css" href="/general/guojigang/public/static/layui/css/layui.css">
    <link rel="stylesheet" type="text/css" href="/general/guojigang/public/static/layui/css/customer.css">
</head>
<body>
  <div class="layui-fluid" id="LAY-component-grid-list">
    <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief2">
      <ul class="layui-tab-title">
        {if condition = "$bgStatus eq 1"} <li class="layui-this">销售</li><li>计划</li>
          {elseif condition="$bgStatus eq 2"/}<li>销售</li><li class="layui-this">计划</li>
          {else /} <li class="layui-this">销售</li><li>计划</li>
        {/if}
      </ul>
      <div class="layui-tab-content">
            状态：
          <div class="layui-inline">
              <select name="status" id="status" lay-filter="status" >
                  <option value="">全部</option>
                  <option value="0">未审核</option>
                  <option value="1">审核中</option>
                  <option value="2">通过</option>
                  <option value="3">不通过</option>
              </select>
          </div>
          订单编号：
        <div class="layui-inline">
          <input class="layui-input" name="order_no" id="order_no" autocomplete="off">
        </div>
        客户名称：
        <div class="layui-inline">
          <input class="layui-input" name="customer_name" id="customer_name" autocomplete="off">
        </div>
        填写人：
        <div class="layui-inline">
          <input onclick = "SelectUserSingle('','','atUid', 'atUser', '0','',1)" name="atUser" id="atUser" placeholder="填写人"  class="layui-input" type="text" >
          <input name="atUid" id="atUid"   lay-verify="" class="layui-input layui-hide" type="text" >
        </div>
        <button class="layui-btn layui-btn-sm" data-type="reload5">查询</button>
        <button class="layui-btn layui-btn-sm" id="reset1">重置</button>
        <table id="verifier" lay-filter="user"></table>
      </div>
    </div>
  </div>
<div>
</div>
<script type="text/html" id="colChangeListBar">
  <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="view2">查看流程</a>
  {{#  if(d.status == 2 ){ }}
  <a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="change_detail3">变更明细</a> 
  {{#  } }}
</script>
{php} $timestamp = time();{/php};
<script>
  var orderNo = "{$orderNo}";
  var bgStatus = {$bgStatus};
  var timestamp = "{$timestamp}";
</script>
<script language="javascript" src="/static/js/module.js"></script>
<script src="/general/guojigang/public/static/layui/layui.js" charset="utf-8"></script>
<script src="/general/guojigang/public/static/layui/delivery/index.js?v="+timestamp charset="utf-8"></script>
<script src="/general/guojigang/public/static/layui/dropdown.js" charset="utf-8"></script>
<script src="/general/guojigang/public/static/layui/jquery.min.js"></script>
<script>
  $("#reset1").click(function(){
        $("#order_no").val('');
        $("#customer_name").val('');
        $("#atUser").val('');
    })
  $("#customer_name").click(function(){
        var lay1 = layer.open({
            title: '选择客户'
            ,type:2
            ,content:'/general/guojigang/public/index/delivery/selectCustomer'
            ,area:['1000px','600px']
            ,shade:0.6  //显示遮罩
            ,shadeClose :true //点击遮罩关闭
            ,maxmin:true
        });
    })
</script>
</body>
</html>